/**
 * <p>Title: ServiceZM9J.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 梁琦
 * @version 1.0
 * <pre>Histroy:
 *          2012-12-17 上午05:12:40  梁琦  Create
 *</pre>
 */
package com.baosight.sczx.zm.service;

import com.baosight.iplat4j.core.ei.EiConstant;
import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.sczx.zm.domain.ZM9J;

/**
 * <p>Title: ServiceZM9J.java</p>
 * <p>Description: </p>
 * <p>Copyright: Baosight Software LTD.co Copyright (c) 2002</p>
 * <p>Company: Baosight Software</p>
 * @author 梁琦
 * @version 1.0
 * <pre>Histroy:
 *          2012-12-17 上午06:27:44  梁琦  Create
 *</pre>
 */
public class ServiceZM9J extends ServiceEPBase {
	
	/**
	 * 初始化
	 * <p>Function: initLoad</p>
	 * <p>Description: </p>
	 * <p>return value: ServiceZM9J</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2012-12-17 上午06:27:44  梁琦  Create
	 * </p>
	 *
	 */
	public EiInfo initLoad(EiInfo inInfo)
	{
		inInfo.addBlock(EiConstant.resultBlock).set("showCount", "true");//如果不加这个，翻页的统计和显示是错误的
		EiInfo outInfo = this.query(inInfo);
		return outInfo;
	}
	
	/**
	 * 查询
	 * <p>Function: query</p>
	 * <p>Description: </p>
	 * <p>return value: ServiceZM9J</p>
	 * <p>throws Exception:</p>
	 * <p>History:
	 *    2012-12-17 上午06:27:44  梁琦  Create
	 * </p>
	 *
	 */
	public EiInfo query(EiInfo inInfo)
	{
		EiInfo outInfo = super.query(inInfo, "ZM9J.query", new ZM9J());
		return outInfo;
	}
	
	
	

}